package com.my.study.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "mytest.jwt")
@Data
public class JwtConfig {

    private String header;

    private String secret;//jwt秘钥

    private long expire;//有效时间
}
